package com.oa.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 管理员表的pojo类
 *
 * @Author: 一拳超人
 * @Date: 2021/10/1 11:18
 */

@TableName("admin")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class Admin implements Serializable {
    private static final long serialVersionUID = 7909511876005972634L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String adminUsername;
    private String adminPassword;
}
